setTrackResource

open fun setTrackResource(resId: Int)(source)

Set the drawable used for the track that the switch slides within.

Parameters

resId

Resource ID of a track drawable

See also